From: Giovanni Campagna Date: Thu, 31 Jan 2013 17:05:46 +0000 (+0100) Subject: ScreenShield: fix wrong signal value in ActiveChanged X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4994 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=644b8304ab2f9ed0925a4d395af00b9c272e5e7a;p=gnome-shell.git ScreenShield: fix wrong signal value in ActiveChanged ActiveChanged should be about active, not locked. https://bugzilla.gnome.org/show_bug.cgi?id=691964 --- diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index cf6c1f240..44ddf749c 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -248,7 +248,7 @@ const ScreenSaverDBus = new Lang.Class({ this._screenShield = screenShield; screenShield.connect('lock-status-changed', Lang.bind(this, function(shield) { - this._dbusImpl.emit_signal('ActiveChanged', GLib.Variant.new('(b)', [shield.locked])); + this._dbusImpl.emit_signal('ActiveChanged', GLib.Variant.new('(b)', [shield.active])); })); this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(ScreenSaverIface, this);